<template>
	<view>
		<search-component ref="search_view" :tabList="tabList" v-model="currentClass" @searchConfirm="searchConfirm"></search-component>
		<line-list :dataList="dataList"></line-list>
		<sww-load-more :params="dataListParams"></sww-load-more>
		<sww-login></sww-login>
	</view>
</template>

<script>
import { comSearch } from './mixin/comSearch.js';
import lineList from '@/pagecomponents/lineList/index.vue';
import searchComponent from './mixin/searchComponent.vue';
export default {
	mixins: [comSearch],
	data() {
		return {
			parentClass: -1, // 上级分类
			currentClass: -1, // 当前搜索的分类id
			classType: 4, // 分类类型,没有分类就为null
			searchClasskey: 'type',
			listApi: 'GetTravelagencyProductList',
			title: '行程路线'
		};
	},
	components: {
		'line-list': lineList,
		'search-component': searchComponent
	}
};
</script>

<style lang="scss">
page {
	background-color: $www-theme-bg;
}
</style>
<style scoped lang="scss"></style>
